package com.rpoonolly.simplegame.core.aabb;

import com.rpoonolly.simplegame.core.Entity;

public class AABBEntity extends Entity {
	protected int width, height;
	
	public AABBEntity(int x, int y, int width, int height) {
		super(x, y);
		this.width = width;
		this.height = height;
	}
	
	public int getWidth() { return width; }
	public int getHeight() { return height; }
	
	public void setWidth(int width) { this.width = width; }
	public void setHeight(int height) { this.height = height; }
	
	@Override
	public String toString() {
		return "AABBEntity: { x:" + x + " y:" + y + " width:" + width + " height:" + height + " }";
	}
}
